package com.hszn.tzsb.bigscreen.model;

import org.apache.ibatis.type.Alias;

@Alias("DeptStatistics")
public class DeptStatistics {
    private Long id; // 主键ID
    private Integer deptId; // 部门ID
    private String deptName; // 部门名称
    private Integer carNumber; // 车辆数量
    private Integer count; // 记录数量
    private Double latitude; // 纬度
    private Double longitude; // 经度

    // Getters and Setters
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(Integer carNumber) {
        this.carNumber = carNumber;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    // toString method for easy debugging
    @Override
    public String toString() {
        return "Region{" +
                "id=" + id +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", carNumber=" + carNumber +
                ", count=" + count +
                ", latitude=" + latitude +
                ", longitude=" + longitude +
                '}';
    }
}
